package com.dinpay.plugin.activity;

import android.graphics.Color;
import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnTouchListener;

final class ac
  implements View.OnTouchListener
{
  ac(PayResultActivity paramPayResultActivity)
  {
  }

  public final boolean onTouch(View paramView, MotionEvent paramMotionEvent)
  {
    if (paramMotionEvent.getAction() == 0)
      paramView.setBackgroundColor(Color.parseColor("#0170D9"));
    while (true)
    {
      return false;
      if (paramMotionEvent.getAction() == 1)
      {
        paramView.setBackgroundColor(Color.parseColor("#258EE5"));
        if (!DinpayBaseActivity.e(PayResultActivity.a(this.a)))
          if (PayResultActivity.a(this.a).equals("支付成功"))
            this.a.a("SUCCESS", PayResultActivity.c());
          else if (PayResultActivity.a(this.a).equals("支付失败"))
            this.a.a("FAILED", PayResultActivity.c());
      }
    }
  }
}

/* Location:           C:\Users\user\Desktop\dd28_pcdd720\classes_dex2jar.jar
 * Qualified Name:     com.dinpay.plugin.activity.ac
 * JD-Core Version:    0.6.2
 */